#ifndef Gl_TEXTURE_2D
#define Gl_TEXTURE_2D
#include "GlTexture.h"
namespace gname
{
	class GlTexture2D:public GLTexture
	{
	public:
         GlTexture2D( int w, int h,TextureInternalFormat format, int mipLevels ,TexType  t = TTYPE_UNSIGNED_BYTE);
		 virtual  ~GlTexture2D()
		 {
			 
		 }

		void BildTexture();
		bool Bind()   const;
		bool Unbind() const;
		 
	private:
		
		TexTarget GetTextureTarget() const { return TT_TEXTURE_2D;}
	};
}

#endif